/*******************************************************************************
 * Copyright (c) 2000, 2005 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.skyeye.modeling.customerized.figures;

import org.eclipse.draw2d.Graphics;
import org.eclipse.draw2d.Label;
import org.eclipse.draw2d.geometry.Point;
import org.eclipse.draw2d.geometry.Rectangle;
import org.eclipse.swt.graphics.Font;
import org.skyeye.modeling.Activator;

public class SineWaveAVOutputFigure extends AVOutputFigure {
	Label l = new Label();
	
	public SineWaveAVOutputFigure() {
		super();
		l.setText("~");
		l.setTextAlignment(Label.CENTER);
		
		this.add(l);
	}

	protected void paintLogo(Graphics graphics, Point center) {
		Rectangle bound = getBounds();
		l.setBounds(new Rectangle(bound.x + bound.width/2 -R, bound.y+bound.height/2 -R ,2*R,2*R));
	}
}
